﻿using System.Windows;
using System.Windows.Controls;

namespace TimeSpan.CustomControls.Controls;

public class DoubleRowButton : Button {
    public static readonly DependencyProperty MainContentProperty =
        DependencyProperty.Register("MainContent", typeof(string), typeof(DoubleRowButton), new PropertyMetadata(null));

    public string MainContent {
        get { return (string)GetValue(MainContentProperty); }
        set { SetValue(MainContentProperty, value); }
    }

    public static readonly DependencyProperty SubContentProperty =
        DependencyProperty.Register("SubContent", typeof(string), typeof(DoubleRowButton), new PropertyMetadata(null));

    public string SubContent {
        get { return (string)GetValue(SubContentProperty); }
        set { SetValue(SubContentProperty, value); }
    }
}